package com.huizu.project.domain;

import lombok.Builder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huizu.common.annotation.Excel;
import com.huizu.common.core.domain.BaseEntity;

/**
 * 动作埋点对象 burial_point
 * 
 * @author zhangmx
 * @date 2024-09-27
 */
@Builder
public class BurialPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 类型：1.基础劳动；2.社会公益劳动；3.劳动成果；4.劳动总结报告 */
    @Excel(name = "类型：1.基础劳动；2.社会公益劳动；3.劳动成果；4.劳动总结报告")
    private Integer type;

    /** 关联业务ID */
    @Excel(name = "关联业务ID")
    private String businessId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 学院ID */
    @Excel(name = "学院ID")
    private String xyId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setBusinessId(String businessId) 
    {
        this.businessId = businessId;
    }

    public String getBusinessId() 
    {
        return businessId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setXyId(String xyId) 
    {
        this.xyId = xyId;
    }

    public String getXyId() 
    {
        return xyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("businessId", getBusinessId())
            .append("userId", getUserId())
            .append("xyId", getXyId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
